<template>
  <div class="app-container">
    <div class="page-filter mb10 fl">
      <el-row>
        <el-col :span="24">
          <el-tabs v-model="active" type="card" @tab-click="handleTabs">
            <el-tab-pane label="发包文件" name="1" />
            <el-tab-pane label="物料申请单" name="2" />
            <el-tab-pane label="设计施工图" name="3" />
            <el-tab-pane label="竣工图" name="4" />
            <el-tab-pane label="完工报告" name="5" />
            <el-tab-pane label="验收报告" name="6" />
          </el-tabs>
        </el-col>
        <el-col v-if="active === '1'" :span="24">
          <Fabao :info="info" />
        </el-col>
        <el-col v-if="active === '2'" :span="24">
          <Wuliao :info="info" />
        </el-col>
        <el-col v-if="active === '3'" :span="24">
          <Shigongtu :info="info" />
        </el-col>
        <el-col v-if="active === '4'" :span="24">
          <Jungongtu :info="info" />
        </el-col>
        <el-col v-if="active === '5'" :span="24">
          <Finish :info="info" />
        </el-col>
        <el-col v-if="active === '6'" :span="24">
          <Accept :info="info" />
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
import Fabao from './components/fabao/fabao'
import Wuliao from './components/wuliao/wuliao'
import Shigongtu from './components/shigongtu/shigongtu'
import Jungongtu from './components/jungongtu/jungongtu'
import Finish from './components/finish/finish'
import Accept from './components/accept/accept'

export default {
  name: '',
  components: { Fabao, Wuliao, Shigongtu, Jungongtu, Finish, Accept },
  inject: ['app'],
  data() {
    return {
      active: '1',
      info: {}
    }
  },
  created() {
  },
  methods: {
    handleTabs(e) {
    }
  }
}
</script>
